using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;
using habbo.Database.Entities;

namespace habbo.Database.Maps
{
    public class private_roomMap : ClassMap<private_room>
    {
        public private_roomMap()
        {
            Table("private_rooms");
            LazyLoad();
            CompositeId();
            Map(x => x.id).Column("id").Not.Nullable();
            Map(x => x.caption).Column("caption").Not.Nullable();
            Map(x => x.description).Column("description").Not.Nullable();
            Map(x => x.character_id).Column("character_id").Not.Nullable();
            Map(x => x.door_state).Column("door_state").Not.Nullable();
            Map(x => x.password).Column("password").Not.Nullable();
        }
    }
}
